package com.atguigu.springcloud.service;

import com.atguigu.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Param;

/**
 * @Author csc
 * @Date 2023/3/11 0011 20:39
 * @Version 1.0
 */
public interface PaymentService {

    /**
     * 新增订单
     * @param payment
     */
    public  int create(Payment payment);

    /**
     * 根据id查询设备信息
     * @param id
     */
    public Payment getPaymentByid(@Param("id")Long id);
}
